package com.twu.biblioteca;

/**
 * Created with IntelliJ IDEA.
 * User: Thoughtworker
 * Date: 10/15/13
 * Time: 6:28 PM
 * To change this template use File | Settings | File Templates.
 */
public class LibraryMember {

    private String password;
    protected String name;
    private String address;
    private String phoneNumber;

    public LibraryMember(String password, String name, String address, String phoneNumber) {
        this.password = password;
        this.name = name;
        this.address = address;
        this.phoneNumber = phoneNumber;
    }


    public boolean verifyPassword(String password) {
       return this.password.equals(password);
    }

    public String getInfo() {
        return this.name+ " " + this.address + " "+ this.phoneNumber;
    }
}
